/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: WHY
 * Date: 2022-11-15
 * Time: 17:29
 */
  abstract  class Shape {
      public int age;
      public String name;

    public Shape(int age, String name) {
        this.age = age;
        this.name = name;
    }

    abstract void draw();
    public void func1(){
        System.out.println("哈哈哈");
    }

}

class  Circle extends Shape{
            public Circle(int age,String name){
                super(5,"小黑");
            }

    @Override
    void draw() {
        System.out.println("画圆");
    }
}


public class TestDemo {


}
